import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Home.vue'
import StartPos from '@/pages/startPos.vue'
import EndPot from '@/pages/endPot.vue'
import Cities from '@/pages/cities.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/startpos',
    name: 'startPos',
    component: StartPos
  },
  {
    path: '/endPot',
    name: 'endPot',
    component: EndPot
  },
  {
    path: '/cities',
    name: 'cities',
    component: Cities
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
